home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
examples
/
ferns.ray
< prev
next >
Wrap
Text File
|
1994-08-09
|
779b
|
38 lines
/* Barnsley's 3D fern - a hierarchical IFS object
* (from 'Fractals Everywhere' by M. Barnsley)
* Philippe Bekaert - dpt. computer science K.U.Leuven, Leuven, Belgium
* e-mail: philippe@cs.kuleuven.ac.be */
screen 400 400
eyep 15 5 -10
lookp 0 4 -1
up 0 1 0
fov 35
maxdepth 1
sample 2
surface green
ambient 0.1 0.8 0.05
diffuse 0.1 0.8 0.05
ifs green
2
scale .5 .5 .5 translate 0 .96 0 ,
scale .5 .5 .5 ,
1
transform .85 0 0
0 .85 .1
0 -.1 .85
0 1.6 0 ,
transform .2 -.2 0
.2 .2 0
0 0 .3
0 .8 0 ,
transform .2 .2 0
-.2 .2 0
0 0 .3
0 .8 0 ,
0
scale .8 .8 .8 rotate 1 0 0 30 rotate 0 1 0 -140
end